<html>
 <head>
	<title>[var.TITLE]</title>
	<link href="[var.ROOT_CSS_DIR]/main.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">
	<link href="[var.ROOT_CSS_DIR]/facet/style.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">	
	<script type="text/javascript" src="[var.ROOT_DIR]js/doiMenuDOM.js"></script>
	<script type="text/javascript" src="[var.ROOT_DIR]js/functions.js"></script>
	<script type="text/javascript" src="[var.ROOT_DIR]js/jsmenu.php"></script>
	<script type="text/javascript" src="[var.ROOT_DIR]js/jsmenu.cfg"></script>	
 </head>
 <body bgcolor="FFFFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
	<table border="0" cellspacing="0" cellpadding="0" width="100%" align="[var.POSITION]">
		<tr>
			<td>[tbs_include.onshow;file=[var.HTMLHeader];getob;]</td>
		</tr>
		<tr>
			<td>
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td class="mainmenu2"><img src="images/spacer.gif" height="1" width="1"></td>
				</tr>				
				<tr>
					<td background="[var.ROOT_IMG_DIR]/back-menu.gif">
					<table border="0" cellspacing="0" cellpadding="0" width="100%">
						<tr>
							<td>
      			  				<script language="JavaScript" type="text/JavaScript"> menu.Build(); </script>
						  </td>
						  <td class="head-login">Login as [var.USERPROFILE_NAME]</td>
						</tr>
					  </table>
					</td>
				</tr>
				
				<tr>
					<td class="mainmenu2"><img src="images/spacer.gif" height="1" width="1"></td>
				</tr>				
			</table>
			</td>
		</tr>
		<tr height="100%">
			<td>
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
				<tr valign="top">
					<td width="100%">
						<table border="0" cellspacing="0" cellpadding="0" width="100%">			
							<tr>
								<td class="head-path"></td>
								<td class="corner-date">[var.CORNER_DATE]</td>
							</tr>
						</table>
						<table border="0" cellspacing="0" cellpadding="5" width="100%">
							<tr>
								<td class="FacetHeaderContent" align="left">.:[var.SubHeaderTitle]:. </td>
							</tr>
						</table>
						<table border="0" cellspacing="0" cellpadding="5" width="100%">
							<tr>
								<td class="contentTitleMarketing">[tbs_check;block=tr;if [var.USER_JUSTVIEW]=1]
								Menu
								</td>
							</tr>
							<tr>
								<td class="contentMarketing">[tbs_check;block=tr;if [var.USER_JUSTVIEW]=1]
								<table cellspacing="2" cellpadding="0">
								 <tr>
								   <td>[tbs_check;block=td;if [var.USER_CANINSERT]=1]
								     <input type="button" name="Action" value="Add New" class="button" onClick="self.location.replace('[sys.script_name]?PageMode=Form')">
								   </td>
								   <!--
								   <td>[tbs_check;block=td;if [var.USER_CANDELETE]=1]
								    <input type="button" name="Action" value="Delete" class="button" onClick="if (confirm('Are you sure want to delete ?')) {[var.HTMLGridList].action='[sys.script_name]?Action=Delete';[var.HTMLGridList].submit();}">
								   </td>
                                    --> 
                                    <td>[tbs_check;block=td;if [var.USER_CANDELETE]=1]
                                       <input type="button" name="Action" value="Delete" class="button" onClick="if (confirm('Are you sure want to delete ?')) {[var.HTMLGridList].action='[sys.script_name]?Action=Delete';[var.HTMLGridList].submit();}">
                                    </td>                                              
                                    <td>
								     <input type="button" name="Action" value="Done" class="button" onClick="self.location.replace('[var.SERVER_URL]')">
								    </td>
								 </tr>
								</table>
								</td>
							</tr>
							<tr>
								<td class="contentMarketing">
									<table border="0" cellspacing="0" cellpadding="0">
									<form>

                                                                                                    <tr>
											<td class="fieldCaption">Prospect Name</td>
											<td class="fieldCaption">:</td>
											<td>
											<input type="text" name="projName" size="35" maxlength="50" class="input" value="[var.projName]">
											</td>
										</tr>									
										<tr>
											<td class="fieldCaption">Prospect Location</td>
											<td class="fieldCaption">:</td>
											<td>
											<input type="text" name="projLoc" size="35" maxlength="50" class="input" value="[var.projLoc]">
											</td>
										</tr>
										
										<tr>
											<td class="fieldCaption">Prospect Owner</td>
											<td class="fieldCaption">:</td>
											<td>
											<input type="text" name="projOwn" size="35" maxlength="50" class="input" value="[var.projOwn]">
											</td>
										</tr>
										
										<tr>
											<td class="menuHeader"></td>
											<td class="menuHeader"></td>
											<td align="right">
											<input type="submit" name="Action" value="Search" class="button" >
											</td>
										</tr>										
									</form>
									</table>								
								</td>
							</tr>
							<tr>
								<td>
								</td>
							</tr>														
							<tr>
								<td >&nbsp;</td>
							</tr>							
						</table>					
						<table border="0" cellspacing="0" cellpadding="0" width="100%">
						    <tr>
						      <td>
						 <!-- GRID SECTION -->
									<table border="0" width="100%" cellpadding="3" cellspacing="1" class="FacetFormTABLEMarketing" align="left">
									<form method=post name="[var.HTMLGridList]" >
									  <tr>
									    <td nowrap class="FacetColumnTDMarketing" align="center" width="25"></td>
									  	<td nowrap class="FacetColumnTDMarketing" align="center" width="25">No.</td>
									  	<td nowrap class="FacetColumnTDMarketing" align="center" width="75">Prospect id</td>
									    <td nowrap class="FacetColumnTDMarketing" align="center">Prospect Name</td>
									    <td nowrap class="FacetColumnTDMarketing" align="center">Est. Start Date</td>
									    <td nowrap class="FacetColumnTDMarketing" align="center">Est. End Date</td>
									    <td nowrap class="FacetColumnTDMarketing" align="center">Classification</td>
									    <td nowrap class="FacetColumnTDMarketing" align="center">Location</td>
									    <td nowrap class="FacetColumnTDMarketing" align="center">Remarks</td>
									    <td nowrap class="FacetColumnTDMarketing" align="center">Prospect Owner</td>
									  </tr>
									  									
									  <tr>
									    <td nowrap class="FacetDataTDMarketing"><input type="checkbox" name="txtCheck[blg.#]" value="[blg.project_id]" class="inputRadio"></td>
									    <td nowrap class="FacetDataTDMarketing">[blg.#]</td>
									    <td class="FacetDataTDMarketing"><a href="[var.FileName]?[bln.PRIMARY_KEY]=[blg.project_id]&PageMode=Form">[blg.project_id;block=tr;]</a></td>	
									    <td class="FacetDataTDMarketing"><a href="[var.FileName]?[bln.PRIMARY_KEY]=[blg.project_id]&PageMode=Form">[blg.project_name;block=tr;]</a></td>	
									    <td class="FacetDataTDMarketing">[blg.start_date;block=tr;]</td>
									    <td class="FacetDataTDMarketing">[blg.end_date;block=tr;]</td>
									    <td class="FacetDataTDMarketing">[blg.project_group_name;block=tr;]</td>
									    <td class="FacetDataTDMarketing">[blg.project_location;block=tr;]</td>
									    <td class="FacetDataTDMarketing">[blg.project_remarks;block=tr;]</td>
									    <td class="FacetDataTDMarketing">[blg.project_owner;block=tr;]</td>
									  </tr>
									  <tr>
									  
									    <td colspan="10" class="FacetDataTDMarketing">[blg;block=tr;nodata]No records</td>
									  </tr>
									  <tr>
									    <td colspan="10" nowrap class="FacetColumnTDMarketing">
									    
										<table border="0" align="left" cellpadding="0" cellspacing="0" >[tbs_check.1;block=tr;if [var.RecCnt]!=0]
										  <tr align="center">[tbs_check.1;block=table;if [var.RecCnt]!=0]
										    <td width="16" class="FacetColumnTDMarketing"><a href="[sys.script_name]?PageNum=[nv.first;endpoint;friend2=a]&projName=[var.projName]&projLoc=[var.projLoc]&projOwn=[var.projOwn]">|&lt;</a></td>
										    <td width="16" class="FacetColumnTDMarketing"><a href="[sys.script_name]?PageNum=[nv.prev;endpoint;friend2=a]&projName=[var.projName]&projLoc=[var.projLoc]&projOwn=[var.projOwn]">&lt;</a></td>
										    <td width="16" class="FacetColumnTDMarketing"><a href="[sys.script_name]?PageNum=[nv.page;block=td]&projName=[var.projName]&projLoc=[var.projLoc]&projOwn=[var.projOwn]">[nv.page]</a></td>
										    <td width="16" bgcolor="#B7B3B7"><strong>[nv.page;block=td;currpage]</strong></td>
										    <td width="16" class="FacetColumnTDMarketing"><a href="[sys.script_name]?PageNum=[nv.next;endpoint;friend2=a]&projName=[var.projName]&projLoc=[var.projLoc]&projOwn=[var.projOwn]">&gt;</a></td>
										    <td width="16" class="FacetColumnTDMarketing"><a href="[sys.script_name]?PageNum=[nv.last;endpoint;friend2=a]&projName=[var.projName]&projLoc=[var.projLoc]&projOwn=[var.projOwn]">&gt;|</a></td>
										  </tr>
										</table>
									    
									    </td>
									  </tr>
									  </form>
									</table>
						<!-- GRID SECTION -->						
						 
						       </td>						      
						 	</tr>
						 	<tr>
						 	  <td>
					 	  
						 	  &nbsp;
						 	  </td>
						 	</tr>
							</table>
					</td>
				</tr>
			</table>

			</td>
		</tr>
		<tr>
			<td>
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td class="footer1"><img src="images/spacer.gif" height="1" width="1"></td>
				</tr>
				<!--tr>
					<td class="footer2">Prototype Test - Web Application</td>
				</tr-->
			</table>
			</td>
		</tr>		
 	</table>
 </body>
</html>
